package com.xyh.flowershop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyh.flowershop.domain.OrderItem;
import com.xyh.flowershop.vo.req.orders.OrderAddItem;
import com.xyh.flowershop.vo.resp.order.OrderItemRespVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 10728
* @description 针对表【tb_order_item】的数据库操作Mapper
* @createDate 2024-05-12 21:34:37
* @Entity com.xyh.flowershop.domain.OrderItem
*/
public interface OrderItemMapper extends BaseMapper<OrderItem> {

    void batchInsert(List<OrderItem> orderItems);


    List<OrderItem> selectByOrderIds(List<String> orderIds);

    List<OrderItemRespVo> selectOrderItemByOrderId(String orderId);
}




